<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const user = { name: "jack", age: 20, allow: true };
      const arr = [1, 2, 3, 4, 5];
      console.log(String(user));
      console.log(JSON.stringify(user));
      console.log(JSON.stringify(arr));
      console.log(JSON.stringify(true));
      console.log(JSON.stringify(false));
    </script>
  </body>
</html>
